﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace MQ.Core.Entity.System
{
    [Table("Sys_Department")]
    public class DepartmentEntity
    {
        [Column("ID")]
        public long? Id { set; get; }
        [Column("PARENTID")]
        public long? ParentId { set; get; }
        [Column("COMPANYID")]
        public long? CompanyId { set; get; }
        [Column("MANAGERID")]
        public long? ManagerId { set; get; }
        [Column("NAME")]
        public string Name { set; get; }
        [Column("CODE")]
        public string Code { set; get; }
        [Column("PARENTCODE")]
        public string ParentCode { set; get; }
        [Column("REMARK")]
        public string Remark { set; get; }
        [Column("STATUS")]
        public int? Status { set; get; }
    }
}
